<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/style.css">
    <title>Home</title>
</head>
<body>
    
    <h2>welcome to chat room!</h2>

    <div id="content">
        <div id="room"></div>
        <div id="room-list"></div>
        
        <div id="messages"></div>

        <form action="" id="send-form">
            <input type="text" id="send-message" />
            <input id="send-button" type='submit' value="Send" />

            <div id="help">
                Chat commands:
                <ul>
                    <li>Change nickname: <code>/nick [username]</code></li>
                    <li>Join/Create room: <code>/join [room name]</code></li>
                </ul>
            </div>
        </form>
    </div>

    <script  src="/socket.io/socket.io.js"></script>
    <script src="/js/jquery.min.js"></script>
    <script src="/js/chat.js"></script>
    <script src="/js/chat_ui.js"></script>
</body>
</html>